How to determine a link attribute question

I have an out link to a module, and have a script that will pick out links to a certain module.
There are instances that there are multiple outlinks to the same module, with different IDs.

As an example, I have an outlink that goes to the same module multiple times.
The link shows
17: <unloaded>
23: <unloaded>
24: <unloaded>
25: <unloaded>

I wish to be able to extract 17 (23,24 and 25) out. How do I do that?
Thank you for any suggestions.

Here is my script:

//OutlinkDO.dxl
Module m = current
Object o
Link l
string strBaseID
string Space = " "
string strObjectNumber
string strID
string strDesignOutput = " Design Outputs"

for o in m do {
strID = probeAttr_(o, "ID")
strBaseID = Space probeAttr_(o, "Object Identifier")
strObjectNumber = probeAttr_(o, "Object Number")
for l in o -> "*" do {
string strName = target(l)
if (strName == strDesignOutput)
{
print"DesignOutput Found - "strBaseID" - "strObjectNumber" -"strID"\n"
}
//print strName "\n"
}
}
Gedinfo - Thu Apr 14 10:58:04 EDT 2011

Re: How to determine a link attribute question
PDU - Fri Apr 15 02:21:19 EDT 2011

Hi,

first use the Wizard :
Analysis -> Wizard

after convertlayout Dxl to Layout Dxl :
Tools -> Support tools -> Convert layout Dxl to Layout Dxl

after, if you don't want an attribut, but a script that print links, you can modify a little this script.

Pierre

Re: How to determine a link attribute question
Gedinfo - Wed Apr 20 12:38:49 EDT 2011

I found out that I can do what I need by this:

targetAbsNo(Link l)